# coding:utf-8
from rest_framework import serializers
from models import Tag


class TagSerializer(serializers.ModelSerializer):
    """
    标签序列化
    """

    class Meta:
        model = Tag
        fields = ['name', 'create_date']
